package com.jmb.web.api.db;

import com.jmb.api.common.utils.JdbcUtil;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class JDBCTestUtil {
    public static void main(String[] args) {
        // 测试数据库连接
        boolean result = JdbcUtil.checkConnection("jdbc:mysql://8.159.131.158:3307/api-test?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8", "root", "hyj521521");
        System.out.println(result);
    }
}
